
export const change_username = (data) => {
    return { type: "CHANGE_USERNAME", data }
}


export const change_token = (data) => {
    return { type: "CHANGE_TOKEN", data }
}

export const change_site = (data) => {
    return { type: "CHANGE_SITE", data }
}
export const change_site_name = (data) => {
    return { type: "CHANGE_SITE_NAME", data }
}

// 增加检测项缓存
export const add_check_cache = (data) => {
    return { type: "ADD_CHECK_CHACE", data }
}

// 减去检测项缓存
export const decrement_check_cache = (data) => {
    return { type: "DECREMENT_CHECK_CHACE", data }
} 

// 修改点检参数
export const change_spot_params = (data) => {
    return { type: "CHANGE_SPOT_PARAMS", data }
} 